.wrapper{
    width: 1200px;
    margin: 0 auto; 
}
body{
    background-color: #ececec;
}
/* 导航栏 */
#nav{
    position: fixed;
    top: 0px;
  z-index: 9999;
    height: 60px;
    width: 100%;

    background-color: #fff
}
#nav .container{
    width: 1400px;

    padding-top: 15px;
    margin: 0 auto;
}
#nav a{
    float: left;
    margin-right: 10px;
    font-size: 20px;
}
#nav .container li{
    float: left;
    margin: 0;
    padding: 0 1rem;
    padding-bottom: 11px;
    height: 100%;
font-size: 14px;
    line-height: 32px;
    justify-content: center;
    align-items: center;
    cursor: pointer
}
#nav .container .nav-more li:hover{
    color: rgb(30, 98, 224);
    border-bottom: 2px solid rgb(30, 98, 224);

}

#nav .search-input{
    padding-left: 10px;
    line-height: 30px;

    caret-color: black;
    color: #c4c8d1;
}
#nav .search-input::placeholder{
color: #c2c8d1;
}
#nav form{
    float: left;
    margin-left: 50px;
    padding-right: 10px;

    width: 380px;
    height: 35px;

    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #c2c8d1
}
#nav form:hover{
    border: 1px solid #86898f
}
#nav #center{
    position: relative;
    float: left;
    margin-left: 10px;
    
    width: 120px;
    height: 35px;

    text-align: center;
    line-height: 35px;
    color: #fff;
    background-color:#1e80ff;
    border-radius: 4px;
    cursor: pointer;
}
#nav #center:hover{
    background-color: #1576f4;
}
#nav #login-btn{
    padding: .3rem 1rem;

    line-height: 25px;
    color: #007fff;
    font-size: 14px;
    font-weight: 400;

    background: rgba(30,128,255,.05);
    border: 1px solid rgba(30,128,255,.3);
    border-radius: 4px;
    cursor: pointer;
}

#center-more{
    display: none;
   position: absolute;
   top: 45px;
   right: -10px;
    margin: 0 15px;
    overflow: hidden;
    width: 400px;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;

}

#center-header{
    margin: 0 15px;
    margin-bottom: 15px;
    overflow: hidden;
    border-bottom: 1px solid #cccccc;
}
#center-header li{
float: left;

width: 20%;
height: 50px;

color: black;
text-align: center;
line-height: 50px;
cursor: pointer;
}

#center #center-header li:hover{
    color: #007fff;
    border-bottom: 0px solid rgb(30, 98, 224);
}

#center #detail-more{
    width: 100%;
    padding: 0 15px;
    overflow: hidden;
    margin-bottom: 15px;
    color: black;

}


 #center #detail-more li{
    float: left;
    margin-top: 10px;
    padding: 0 0;
    font-size: 13px;
}
#center #detail-more li:hover{
    border-bottom: 0px solid rgb(30, 98, 224);
}

#center #detail-more li div{
    float: left;
    margin-right: 7px;

    width: 40px;
    height: 25px;

    text-align: center;
    line-height: 25px;
    color: #ff7426;
    background-color: #fff3e5;
}

/* 登录后nav头像 */
#login-btn{
    display: none;
   float: right;
}
#login-avt{
    /* display: none; */
    position: relative;
    float: right;
    margin-right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #9aa3ab;
}
#avt-m{
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    padding: 15px 20px;


    width: 260px;
    height: 450px;
border: 1px solid #dee1e4;
    border-radius: 4px;
    background-color:white;
}
#avt-m .header{
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}
#more-avator{
    float: left;
    margin-right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #9aa3ab;
}
#avt-m .header .username{
    font-size: 16px;
    font-weight: normal;
}
#avt-m .three li{
    width: 33%;
    float: left;
    font-size: 18px;
    text-align: center;
}
#avt-m .three li h4{
    color: #8b8f93;
    font-size: 14px;
    font-weight: 300;
}
#avt-m .more li{
    width: 50%;
    float: left;
    text-align: center;
    font-size: 16px;
padding-top: 10px;
}
#avt-m .more li:hover{
    background-color: #f5f5f5;
}
#avt-m .btn-two{
    font-size: 13px;
    color: #8b8f93;
    cursor: pointer
}
/* 首页版心 */
.banner{
    /* display: none; */
    padding-top: 80px;
}
/* 左侧栏*/
.l-change{
    background-color: #eaf2ff;
    color: #007fff;
}
.banner #l-sidebar{
    float: left;
    padding: 10px 10px;
    width: 170px;
    background-color: #fff;
    border-radius: 4px;
}
.banner #l-sidebar li,
#r-sidebar .r-sbmore li{
    height: 45px;
   padding-left: 40px;
   line-height: 45px;
}
.banner #l-sidebar li:hover,
#r-sidebar .r-sbmore li:hover{
    background-color:#f7f6f6;
    color: #007fff;
    cursor: pointer;
}

/* 右侧栏 */
.banner #r-sidebar{
    float: right;
    width: 230px;
    border-radius: 4px;
}
#r-sidebar .one span{
    color: #1d2129;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}
#r-sidebar .one-p{
    color: #8a919f;
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 2px;
}
#qiandao{
    display: flex;
    justify-content: center;
    align-items: center;
    float: right;

    height: 36px;
    width: 74px;

    color: #1e80ff;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;

    border-radius: 4px;
    border: 1px solid rgba(30,128,255,.3);
    background-color: rgba(30,128,255,.05);
}
#r-sidebar .one{
    overflow: hidden;
padding: 15px 12px;
background-color: #fff;
border-radius: 4px;
}
.ad-img{
    margin-top: 15px;
    border-radius: 4px;

}
#r-sidebar img{
    width: 230px;
    height: 115px;
}
#r-sidebar .more-list li{
float: left;
margin-top: 8px;
margin-right: 12px;
    line-height: 1.6;
    font-size: 12px;
    color: #9aa3ab;
}
#r-sidebar .more-list li:last-child{
    margin-right: 0;
}
/* 综合 */

.main{
float: left;
margin-left: 20px;

    width: 755px;

}
#zh-header{
    overflow: hidden;

    padding: 15px 15px;
    border-radius: 4px;
    background-color: #fff;
}
#zh-header .three{
  padding-right: 15px;
  padding-left: 15px;
    float: left;
    width: 240px;

}
#zh-header .three .title{
    overflow: hidden;
    margin-bottom: 10px;

}
#zh-header .three li{
    float: left;
    width: 220px;

    font-size: 14px;
    line-height: 28px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
#zh-header .three li:hover{
    color: #007fff;
    cursor: pointer;
}
#zh-detail{
    width: 100%;
    overflow: hidden;

}
#zh-detail .header{
    margin-top: 20px;
  width: 100%;
  height: 50px;
  background-color: #fff;
  border-radius: 4px;
  border-bottom:1px solid #cccccc;
}

/* 文章列表 */
#zh-detail .header div{
    float: left;
    height: 100%;
    line-height: 50px;
    margin-left: 30px;

}
#zh-detail .list li{
    position: relative;
    width: 100%;
   margin-left: 25px;
    margin-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;

    border-bottom: 1px solid #cccccc;
    cursor: pointer;
}
#zh-detail .list .id,
#zh-detail .list .createtime{
    float: left;
    padding-right: 15px;
    font-size: 13px;
    color: #86909c;
 
}
#zh-detail .list h3{
    padding-top: 25px;
    padding-bottom: 5px;
    width: 70%;
    font-size: 16px;
}
#zh-detail .list .summary{
    width: 70%;
    float: left;
    font-size: 13px;
    color: #86909c;
    overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;

}
#zh-detail #icon div{
    float: left;
    padding-top: 5px;
    padding-right: 20px;
    font-size: 13px;
    color: #86909c;
}
#zh-detail #icon img{
    width: 15px;
    
}
#zh-detail .list .img img{
    width: 20%;

    position: absolute;
    top: 20px;
    right: 40px;
   
}
/* 登陆 */
#login{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 10px 0px;

    overflow: hidden;
    width: 400px;
    height: 300px;

    background-color: #fff;
    border-radius: 4px;
}

#login #header img{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    float: right;
    cursor: pointer;

}
#login #header h3{
   margin-bottom: 10px;
   font-weight: 500;
   text-align: center;
}
#login #header{
    overflow: hidden;
    padding: 5px 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dcdada;
}
#login-contain input{
    margin-bottom: 15px;
    padding-left: 5px;

    height: 35px;
    width: 100%;

    border-radius: 4px;
    border: 0px; 
    background-color: #f5f5f5;
}
#login-contain{
    width: 300px;
    margin: 0 auto;
}
#login-contain span{
    display: block;

font-size: 13px;
color:  #3481f6;
cursor: pointer;

}
#login-contain #login-btn2{
margin-top: 10px;

    width: 200px;
    height: 35px;

    color: white;
    font-size: 16px;

    border: 0px;
    border-radius: 4px;
    background-color: #3481f6;
    cursor: pointer;
}


/* 个人资料 */
#user-info{
    display: none;
    overflow: hidden;
    margin-top: 80px;

}
#user-info .header{
padding-left: 20px;

    height: 50px;
    color: #8a919f;
    font-size: 14px;
    line-height: 50px;
    background-color: #fff;
}
#user-info .container{
    margin-top: 20px;


    
}
#user-info .container .left{
    float: left;
    padding: 8px 8px;
    width: 20%;
    height: 600px;
    background-color: #fff;
}

#user-info .container .left li{
    line-height: 50px;
    text-align: center;
    height: 50px;

    border-radius: 4px;
    background-color: #fff;

}
#user-info .container .left li:hover{
    background-color: #eaf2ff;
    color: #007fff;
}
#user-info .container .right{
    padding: 2px 20px;
    float: right;
    width: 78% ;
    height: 600px;
    background-color:#fff;
}
#user-info .container .right h2{
    width: 550px;
    height: 70px;
    line-height: 70px;
    font-size: 20px;
    border-bottom: 1px solid #9aa3ab;
}
#user-info .container .info-left{
    float: left;
    width: 70%;

}
#user-info .container .info-left li{
    width: 550px;
    padding: 20px 5px;
height: 80px;
border-bottom:  1px solid #9aa3ab;
background-color: #fff;
}
#user-info .container .info-left input{ 
    float: right;
    margin-left: 30px; 
    padding: 10px;
    height: 35px;
    width: 400px; 
    border-radius: 4px;
border: 1px solid #dbdbdb;
    background-color: #f5f5f5;
}
#user-info .container .info-left input:hover{
    background-color: #dee1e4;
}
#user-info .container .info-right{
    float: right;
    width:30% ;
    height: 200px;

}
#user-info .container #info-btn{
margin-top: 40px;
margin-left: 150px;
    width: 150px;
    height: 40px;

    color: white;
    font-size: 16px;

    border: 0px;
    border-radius: 4px;
    background-color: #3481f6;
    cursor: pointer;
}
#info-avator{
    margin: 0 auto;
    position:relative;
    overflow: hidden;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #130e0e;
    cursor: pointer;

}
#info-avator img{
    position: absolute;
    top: 50%;
    left: 50%;

    display: block;
    min-width: 100%;
    min-height: 100%;
    transform:translate(-50%,-50%);
}
#info-avator span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);

    width: 85px;
    font-size: 14px;
    color: white;
}

/* 个人主页 */
#user-major{
    display: none;
    overflow: hidden;
    margin: 80px auto;
    width: 960px;
}
#user-major .header{
    padding: 25px 25px;
    float: left;
    width: 74%;
    height: 200px;
    background-color: #fff;
}
#user-major .follow{
    padding-top: 20px;
    float: right;
    width: 25%;
    height: 100px;
    background-color:white;
}
#user-major .follow li{
    width: 50%;
    float: left;
    text-align: center;
}
#user-major .follow .title{

}

#user-major .container{
    overflow: hidden;
    margin-top: 10px;
    float: left;
    width: 74%;
    /* height: 200px; */
    background-color: white;
}

#user-major .container .menu li{
    float: left;
    width: 70px;
    height: 30px;
    text-align: center;

}
#user-major .container .menu{
    overflow: hidden;
    padding-top: 10px;
    width: 100%;
    border-bottom: 1px solid #cccccc;
}

#none{
    width: 100%;
    height: 200px;
    background-color: #fff;
}
#none span{

margin-left: 265px;
line-height: 160px;
color: #9aa3ab;
}
#user-major #major-avator{
    overflow: hidden;
    float: left;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #130e0e;
}

#user-major .detail{
    float: left;
    padding: 10px 25px;
}
#user-major .detail li{
color: #1559b3;
    line-height: 28px;
}
.username{
font-weight: bold;
    font-size: 22px;

}
#major-btn{
    float: right;
margin-top: 60px;
    height: 30px;
    width: 120px;
    text-align: center;
    line-height: 30px;
border: 1px solid #007fff;
color: #007fff;
border-radius: 4px;

}
#user-major .get{
    width: 100%;
    float: left;
    margin-top: 10px;
    padding: 10px 10px;
    border-top: 1px solid #cccccc;
}
